//
//  NotUpdataTool.h
//  Inforcollection
//
//  Created by ocean on 16/11/2.
//  Copyright © 2016年 oceansoft.liw. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^SuccessBlockReturn)(NSDictionary*responseObject,int index);

@interface NotUpdataTool : NSObject
@property (nonatomic, copy) SuccessBlockReturn BlockReturn;
@property (nonatomic, copy) SuccessBlockReturn ReturnAPP;

//获取得到ImageView的数据信息
+ (NSMutableArray*)getImageArrayforSanbox:(int)index;
//获取沙盒中的用户上传数据
+ (NSMutableArray*)getUserdataArrayfprSanbox;
//实现用户上传前的逻辑业务处理
+ (bool)removeImageforSanBox:(long)index;
//写入沙盒
+ (bool)SaveImageDatatoSanbox:(int)index WithImage:(UIImage*)image WithImagePath:(long)imageIndex;
//将用户保存的数据写入沙盒
+(bool)SaveImageDatatoSanboxWithDict:(NSDictionary*)diction WithImageDictIndex:(long)Index;
//删除用户保存的数据
+(bool)removePolistForSanBox:(long)index;
//获取用户上传的数据
+(NSArray*)getUserDataforSanbox;
//上传图片接口
-(void)UploadImageForSevers:(UIImage*)image withtype:(NSString*)type RecondID:(NSString*)RecondID withcycleCount:(long)index SuccessReturnBlock:(SuccessBlockReturn)block;
@end
